package com.qf.java2102.qihaonan.hotel.service;

import com.qf.java2102.qihaonan.hotel.entity.CartItem;
import com.qf.java2102.qihaonan.hotel.entity.ResultVO;
import com.qf.java2102.qihaonan.hotel.pojo.User;

import java.util.Map;

/**
 * @author qhn
 * @version 1.0
 */
public interface ICartService {

    /**
     * {
     *     "cartItems" : List<CartItem>
     *     "totalMoney" : 1253.20
     * }
     * @return
     */
    ResultVO<Map<String, Object>> getCart(Map<Long, CartItem> cart, User user);


}
